package com.xbongbong.pro.detailtab.vo;

import com.xbongbong.paas.pojo.CommentPojo;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.pro.businesstage.pojo.StagePojo;
import com.xbongbong.pro.businesstage.pojo.WastageReasonPojo;
import com.xbongbong.pro.businesstage.pojo.WorkFinishPojo;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * 客户机会当前阶段
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/3/12 16:03
 * @since v1.0
 */
@Getter
@Setter
public class NowStageVO {
    /**
     * 阶段id
     */
    private Long id;
    /**
     * 下阶段
     */
    private StagePojo nextStage;
    /**
     * 当前阶段
     */
    private StagePojo nowStage;
    /**
     * 评论
     */
    private List<CommentPojo> commentArray;
    /**
     * 工作列表
     */
    private List<WorkFinishPojo> workArray;
    /**
     * 流失输单
     */
    private WastageReasonPojo wastageReason;

    /**
     * 是否有权限
     */
    private Boolean permission;

    /**
     * 客户是否已成交
     */
    private Boolean dealConcluded;

    /**
     * 客户是否已归档
     */
    private Boolean archived;

    private List<FieldAttrEntity> explainList;

    public NowStageVO() {
        this.nextStage = new StagePojo();
        this.nowStage = new StagePojo();
        this.commentArray = new ArrayList<>();
        this.workArray = new ArrayList<>();
        this.wastageReason = new WastageReasonPojo();
    }
}
